package com.atguigu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author HX
 * @email 1624242879@qq.com
 * @date 2021-01-17 20:55:42
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //获取spu规格
    List<ProductAttrValueEntity> listForSpuByspuId(Long spuId);

    //修改商品规格
    void updateSpuAttrs(Long spuId, List<ProductAttrValueEntity> spuAttrs);
}

